package com.nebula.api.modules.product.vo;

import com.nebula.api.modules.product.entity.ShopProduct;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ShopProductVo extends ShopProduct {

    private String seriesTitle;

    private String seriesSubTitle;

    private String seriesDescription;

    private String columnId;

    public String getLink() {
        return this.getId() == null ? "details.html?id=" + "" : "details.html?id=" + this.getId();
    }

}
